from . models import FlowLog
from helpers.director.shortcut import director_element,ModelTable,director,PageNum

@director_element('flow/list')
class FlowLogTable(ModelTable):
    model = FlowLog
    exclude = []
    nolimit = True
    def inn_filter(self, query):
        return query.filter(event_id=self.kw.get('event'))  
    
    class pagenator(PageNum):
        perPage=2000    

